package com.hzeport.bgs22emduty.enums;

public enum WarnTypeEunm {

    GREEN("1","绿灯"),
    YELLOW("2","黄灯"),
    RED("3","红灯");

    private String code;
    private String description;
    WarnTypeEunm(){};
    WarnTypeEunm(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String toString() {
        return this.getValue();
    }
    public String getValue() {
        return code;
    }
    public String getDescription(){
        return this.description;
    }
}
